package com.atguigu.yygh.hosp.repository;

import com.atguigu.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author mgx
 * @version 1.0
 * @description: TODO
 * @date 2022/8/27 12:00
 */
public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department findByHoscodeAndDepcode(String hoscode, String depcode);
}
